package com.safety.web.service.impl;

import com.safety.web.dao.AskDoctorDao;
import com.safety.web.entity.AskDoctor;
import com.safety.web.service.AskDoctorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by pinky on 2016/12/9.
 */
@Service("askDoctor")
public class AskDoctorServiceImpl implements AskDoctorService {
    @Resource
    private AskDoctorDao askDoctorDao;

    @Override
    public List<AskDoctor> selectAllClass() {
        return askDoctorDao.selectAllClass();
    }

    @Override
    public List<AskDoctor> selectClass4Doctor(String classId) {
        return askDoctorDao.selectClass4Doctor(classId);
    }

}
